package com.baiwei.vpnapi.dao;

import com.baiwei.vpnapi.entity.ChannelInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

public interface ChannelMapper extends BaseMapper<ChannelInfo> {
    @Select("select * from channel_info where channel_no = #{channelNo} and status = 1")
    ChannelInfo getChannelByChannelNo(String channelNo);
}
